﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DealerJudge.Entity;

namespace DealerJudge.Data
{
    public interface IDealerData
    {
        List<Dealer> Search(DealerCategory dealerCategory, City city, Manufacturer manufacturer, Location location);
        List<Category> GetCategory();

        List<City> GetAllCities();
        List<City> GetCityById(int id);
        List<City> GetCitiesByCategory(int cat_id);
        List<Manufacturer> GetManufacturerByCityAndCategory(int city_id, int cat_id);
    }
}
